package com.example.justbuy.pojo;

import java.util.Date;

/**
 * Goodstype entity. @author MyEclipse Persistence Tools
 */

public class Goodstype implements java.io.Serializable {

	// Fields

	private Integer id;
	private Date addtime;
	private String typename;
	private Integer parentid;
	private Integer level;

	// Constructors

	/** default constructor */
	public Goodstype() {
	}

	/** minimal constructor */
	public Goodstype(String typename, Integer level) {
		this.typename = typename;
		this.level = level;
	}

	/** full constructor */
	public Goodstype(Date addtime, String typename, Integer parentid,
			Integer level) {
		this.addtime = addtime;
		this.typename = typename;
		this.parentid = parentid;
		this.level = level;
	}


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public Date getAddtime() {
		return this.addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}


	public String getTypename() {
		return this.typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}


	public Integer getParentid() {
		return this.parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}


	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

}